require("./src/configs");

const { defineConfig } = require("@vue/cli-service");

module.exports = defineConfig({
  transpileDependencies: true,

  // 基本路径
  publicPath: "./",
  // 输出文件目录
  outputDir: "dist",
  devServer: {
    historyApiFallback: true,
    // proxy代理配置
    proxy: {
      "/api": {
        target: "http://192.168.1.33:8808/",
        changeOrigin: true,
        pathRewrite: {
          "^/api": "/",
        },
      },
    },
  },
});
